package xmltree

Import Path
	github.com/ChrisTrenkamp/goxpath/tree/xmltree (on go.dev)

Dependency Relation
	imports 6 packages, and imported by one package

Involved Source Files xmltree.go
Package-Level Type Names (total 3)
/* sort by: | */
DirectiveParser is an optional interface extended from XMLBuilder that handles XML directives. ( DirectiveParser) CreateNode(*xmlbuilder.BuilderOpts) xmlbuilder.XMLBuilder ( DirectiveParser) Directive(xml.Directive, *xml.Decoder) ( DirectiveParser) EndElem() xmlbuilder.XMLBuilder GetNodeType returns the node's type GetParent returns the parent node, which will always be an XML element GetToken returns the xml.Token representation of the node Pos returns the node's position in the document order ResValue prints the node's string value DirectiveParser : github.com/ChrisTrenkamp/goxpath/tree/xmltree/xmlbuilder.XMLBuilder DirectiveParser : github.com/ChrisTrenkamp/goxpath/tree.Node
ParseOptions is a set of methods and function pointers that alter the way the XML decoder works and the Node types that are created. Options that are not set will default to what is set in internal/defoverride.go Strict bool XMLRoot func() xmlbuilder.XMLBuilder
ParseSettings is a function for setting the ParseOptions you want when parsing an XML tree. func MustParseXML(r io.Reader, op ...ParseSettings) tree.Node func ParseXML(r io.Reader, op ...ParseSettings) (tree.Node, error)
Package-Level Functions (total 2)
MustParseXML is like ParseXML, but panics instead of returning an error.
ParseXML creates an XMLTree structure from an io.Reader.